package com.example.happystarter;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.ImageButton;
import android.widget.Toast;

public class happystarter extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_happystarter);

        ImageButton startbtn = (ImageButton) findViewById(R.id.startBtn);
        ImageButton switchbtn = (ImageButton)findViewById(R.id.switchBtn);

        startbtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(happystarter.this,R.string.start_tip,Toast.LENGTH_LONG).show();
            }
        });

        switchbtn.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Toast.makeText(happystarter.this,R.string.switch_tip,Toast.LENGTH_LONG).show();
            }
        });

    }
}